package com.solomon.travel.common.util;


public class ConstantUtils {
	/**
	 * 酒店
	 */
	public static final int ORGANIZE_TYPE_HOTEL = 3;
	/**
	 * 旅行社
	 */
	public static final int ORGANIZE_TYPE_AGENCY = 2;
	/**
	 * 车队
	 */
	public static final int ORGANIZE_TYPE_MOTORCADE = 6;
	/**
	 * 政府
	 */
	public static final int ORGANIZE_TYPE_GOV = 1;
	/**
	 * 餐厅
	 */
	public static final int ORGANIZE_TYPE_RESTAURUANT = 4;
	/**
	 * 景点
	 */
	public static final int ORGANIZE_TYPE_SCENIC = 5;
	/**
	 * 导游
	 */
	public static final int ORGANIZE_TYPE_GUIDE = 7;
	/**
	 * 购物
	 */
	public static final int ORGANIZE_TYPE_SHOP = 8;
	public static final int IMAGE_SUBTYPE_HOTEL_INTRO = 1;
	public static final int IMAGE_SUBTYPE_HOTEL_DINING = 2;
	public static final int IMAGE_SUBTYPE_HOTEL_MEETING= 3;
	public static final int IMAGE_SUBTYPE_REST_INTRO= 4;
	public static final int IMAGE_SUBTYPE_REST_MENU= 5;
	public static final int IMAGE_SUBTYPE_GUIDE_DAITUAN= 6;
	public static final int IMAGE_SUBTYPE_MOTORCADE_INTRO= 7;
	public static final int IMAGE_SUBTYPE_MOTORCADE_CAR= 8;
	public static final Integer IMAGE_SUBTYPE_SHOP_INTRO = 9;
	public static final Integer IMAGE_SUBTYPE_SHOP_PRODUCT = 10;
	public static final Integer MESSAGE_TYPE_TO_ALL = 1;
	public static final Integer MESSAGE_TYPE_TO_USER = 2;
	public static final Integer MESSAGE_TYPE_TO_TYPE = 3;
	
	
	
	
	/**
	 * 返回码
	 * 用户相关：1xxx 接口相关：9xxx 小区相关：3xxx 房产相关：6xx 广告相关：4xx 装修相关：5xx 回复相关：7xx 公告相关：8xx
	 */
	public static final int RESPONSE_CODE_OK = 200;
	public static final int RESPONSE_CODE_USERNAME_ALREADY_EXIST = 100;
	public static final int RESPONSE_CODE_USERNAME_OR_PASSWORD_WRONG = 101;
	public static final int RESPONSE_CODE_USER_UPDATE_ERROR = 102;
	public static final int RESPONSE_CODE_USER_NOT_EXIST = 103;
	public static final int RESPONSE_CODE_API_EXPIRED = 900;
	public static final int RESPONSE_CODE_PERMISSION_DENY = 9000;
	public static final int RESPONSE_CODE_WRONG_SIGN = 901;
	public static final int RESPONSE_CODE_VILLAGE_ALREADY_EXIST = 301;
	public static final int RESPONSE_CODE_VILLAGE_UPDATE_ERROR = 302;
	public static final int RESPONSE_CODE_HOUSE_IMPORT_ERROR = 601;
	public static final int RESPONSE_CODE_HOUSE_IMPORT_EXCEPTION = 602;
	public static final int RESPONSE_CODE_HOUSE_UPDATE_ERROR = 603;
	public static final int RESPONSE_CODE_AD_ADD_ERROR = 401;
	public static final int RESPONSE_CODE_DECORATE_ADD_ERROR = 501;
	public static final int RESPONSE_CODE_DECORATE_BAILSET_ERROR = 502;
	public static final int RESPONSE_CODE_DECORATE_APPROVAL_ERROR = 503;
	public static final int RESPONSE_CODE_DECORATE_FINISH_ERROR = 504;
	public static final int RESPONSE_CODE_DECORATE_BAILRETREAT_ERROR = 505;
	public static final int RESPONSE_CODE_DECORATE_UPDATE_ERROR = 506;
	public static final int RESPONSE_CODE_FEEDBACK_ADD_ERROR = 701;
	public static final int RESPONSE_CODE_ANNOUNCE_ADD_ERROR = 801;
	public static final int RESPONSE_CODE_ANNOUNCE_UPDATE_ERROR = 802;
	public static final int VST_CODE_TOKENEXPIRED_ANSWER = 402;
	
	/**
	 * 返回信息
	 */
	public static final String RESPONSE_MSG_USERNAME_ALREADY_EXIST = "username is already exist";
	public static final String RESPONSE_MSG_USERNAME_OR_PASSWORD_WRONG = "username or password wrong";
	public static final String RESPONSE_MSG_API_EXPIRED = "API expired";
	public static final String RESPONSE_MSG_WRONG_SIGN = "wrong sign";
	public static final String RESPONSE_MSG_VILLAGE_ALREADY_EXIST = "village is already exist";
	public static final String RESPONSE_MSG_PERMISSION_DENY = "permission deny";
	public static final String VST_MSG_TOKENEXPIRED_ANSWER = "402";
	public static final String RESPONSE_MSG_LOGIN_STATUS_TIMEOUT = "login status timeout";
	/**
	 * 错误
	 */
	public static final int ERROR=600;
	//成功
	public static final int SUCCESS=200;
	//失败
	public static final int FAIL=400;
	
	/*******************用户角色，对应数据库的role.type***********************/
	/**
	 * 系统管理员
	 */
	public static final Integer ROLE_TYPE_ADMIN=1;
	/**
	 * 物业
	 */
	public static final Integer ROLE_TYPE_PROPERTY=2;
	/**
	 * 业主
	 */
	public static final Integer ROLE_TYPE_HOST=3;
	/**
	 * 非业主
	 */
	public static final Integer ROLE_TYPE_CUSTOMER=4;
	
	/**
	 * 中心机
	 */
	public static final Integer ROLE_TYPE_CENTER=5;
	
	/*******************房产类型，对应数据库的houseType.type***********************/
	/**
	 * 普通
	 */
	public static final Integer HOUSE_TYPE_NORMAL=1;
	/**
	 * 小高层
	 */
	public static final Integer HOUSE_TYPE_SMALL_HIGH=2;
	/**
	 * 高层
	 */
	public static final Integer HOUSE_TYPE_HIGH=3;
	/**
	 * 洋房
	 */
	public static final Integer HOUSE_TYPE_YANGFANG=4;
	
	/**
	 * 别墅
	 */
	public static final Integer HOUSE_TYPE_BIESHU=5;
	
	/**
	 * 其他
	 */
	public static final Integer HOUSE_TYPE_OTHER=6;
	
	/*******************图片类型，对应数据库的image.type***********************/
	/**
	 * 广告图
	 */
	public static final Integer IMAGE_TYPE_ADVERTISEMENT=1;
	/**
	 * 头像
	 */
	public static final Integer IMAGE_TYPE_AVATAR=2;
	
	/*******************用户类型，对应数据库的user.type***********************/
	/**
	 * app用户
	 */
	public static final Integer USER_TYPE_APP=1;
	//微信用户
	public static final Integer USER_TYPE_WECHAT=2;
	/**
	 * 非app用户
	 */
	public static final Integer USER_TYPE_NOTAPP=0;
	
	/*******************单元机类型，对应数据库的unitMachine.type***********************/
	/**
	 * 单元门禁
	 */
	public static final Integer UNIT_TYPE_NORMAL=1;
	/**
	 * 区域门禁
	 */
	public static final Integer UNIT_TYPE_AREA=2;
	
	/*******************是否***************************/
	/**
	 * 是
	 */
	public static final Integer YES=1;
	/**
	 * 否
	 */
	public static final Integer NO=0;
	
	
	/************************分页默认值********************/
	public static final Integer pageNo=1;
	public static final Integer pageSize=10;
	
	/************************默认密码********************/
	public static final String DEFAULT_PASSWORD = "123456";
	
	/************************物业用户管理类型********************/
	/**
	 * 管理整个小区
	 */
	public static final Integer MANAGETYPE_VILLAGE = 1;
	/**
	 * 管理期
	 */
	public static final Integer MANAGETYPE_PERIOD= 2;
	/**
	 * 管理区
	 */
	public static final Integer MANAGETYPE_REGION = 3;
	/**
	 * 管理期和区
	 */
	public static final Integer MANAGETYPE_PERIOD_REGION = 4;
	
	/************************装修状态 对应数据库的decorate。status********************/
	/**
	 * 待审核
	 */
	public static final Integer DECORATE_STATUS_UNCHECK = 0;
	/**
	 * 已审核
	 */
	public static final Integer DECORATE_STATUS_CHECKED = 1;
	/**
	 * 已结束
	 */
	public static final Integer DECORATE_STATUS_END = 2;
	
	/************************装修保证金状态  对应数据库的decorate。bailStatus ********************/
	/**
	 * 未支付
	 */
	public static final Integer DECORATE_BAIL_UNPAY = 0;
	
	/**
	 * 已支付
	 */
	public static final Integer DECORATE_BAIL_PAY = 1;
	
	/**
	 * 已退还
	 */
	public static final Integer DECORATE_BAIL_RETURN = 2;
	
	
	/************************报修状态 对应数据库的repair。status********************/
	
	/**
	 * 待处理
	 */
	public static final Integer REPAIR_STATUS_PUBLISH = 0;
	
	/**
	 * 处理中
	 */
	public static final Integer REPAIR_STATUS_PROCESSING = 1;
	
	/**
	 * 已处理
	 */
	public static final Integer REPAIR_STATUS_END = 2;
	
	
	/************************投诉状态 对应数据库的complain。status********************/
	
	/**
	 * 待处理
	 */
	public static final Integer COMPLAIN_STATUS_PUBLISH = 0;
	
	/**
	 * 处理中
	 */
	public static final Integer COMPLAIN_STATUS_PROCESSING = 1;
	
	/**
	 * 已处理
	 */
	public static final Integer COMPLAIN_STATUS_END = 2;
	
	
	/************************账单类型 对应数据库的bill。type********************/	
	
	/**
	 * 物业费
	 */
	public static final Integer BILL_TYPE_PROPERTYFEE = 1;
	
	/**
	 * 电费
	 */
	public static final Integer BILL_TYPE_ELECTRICFEE = 2;
	
	/**
	 * 水费
	 */
	public static final Integer BILL_TYPE_WETERFEE = 3;
	
	/**
	 * 停车费
	 */
	public static final Integer BILL_TYPE_PARKINGFEE = 4;
	
	/**
	 * 其他
	 */
	public static final Integer BILL_TYPE_OTHER = 5;
	
	/************************账单状态 对应数据库的bill。status********************/
	
	/**
	 * 已创建
	 */
	public static final Integer BILL_STATUS_CREATED = 0;
	
	/**
	 * 已支付
	 */
	public static final Integer BILL_STATUS_PAYED = 1;
	
	public static final Integer UNIT_MACHINE_ONLINE = 1;
	public static final Integer UNIT_MACHINE_OFFLINE = 0;
	public static final Integer UNIT_MACHINE_STATUS_NORMAL = 1;
	public static final Integer UNIT_MACHINE_STATUS_UNNORMAL = 0;
	
	
	public static final String AESKEY = "b069bc79224d8b52ed8b3cedbbe870e9";
	public static final Integer LOGIN_STATUS_TIMEOUT = 401;
	public static final Integer IMAGE_TYPE_COMPLAIN = 3;
	public static final Integer IMAGE_TYPE_REPAIR = 4;
	
}
